package com.wangxiang.shop.order.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.HashMap;
import java.util.List;

@FeignClient("shop-product")
public interface ProductFeign {
    @RequestMapping("product/sku/order")
    List<HashMap<String , String>> order(@RequestBody List<HashMap<String, Integer>> list);

    @RequestMapping("product/spu/member/order/list")
    List<HashMap<String , Object>> memberOrderList(@RequestBody List<HashMap<String , Object>> list);
}
